home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-13 / hplj3j11.zip / HPLJ-III.SPR < prev    next >
Text File  |  1991-09-02  |  12KB  |  88 lines

  1. FORMAT HPLJ-III.FMT
  2. R 94,J,T 5,font Times,size 12pt
  3. COMMENT font Times,size 12pt in ruler
  4. COMMENT HPLJ-III.SPR by Allen Brunson, rev. by Jim Celoni, S.J. 9-2-91
  5. INCLUDE hpallen.tct
  6. SIZE 36 POINTTypeset TestENDS
  7.  
  8.  
  9.     This Sprint document is a test of Allen Brunson's LaserJetIII printer driver and the associated macros.  This driver uses a revolutionary new concept, namely, "lying" to Sprintabout the resolution of the printer.  While a LaserJetIII can only really print 300 dots perinch, like almost all other laser printers, this driver tricks Sprint into believing it can do1800 dots per inch.  The net effect is that fonts scaled to various sizes have virtually noscaling errors, and therefore look much better.
  10.     Notice that the right margin is set to94, which gives a pretty good approximation ofwhere the line will actually be broken in 12-point Times, the default font and size.  Thisdocument exercises all possible typefaces, enhancements, and goodies.  (Some expect the stufffrom the file @t[EXTRA.FMT] to have been added to your format file to work as advertised.) The printer driver and the associated macros were designed specifically with the LaserJetIIIin mind; modification will no doubt be necessary for all other output devices.
  11.  
  12. R 94,T 5
  13. SIZE 8 POINT
  14.     Small type.  This paragraph is in 8-point type with a ragged right margin.  It is an example of how well Sprint can deal with small type on the LaserJetIII when it's told that thehorizontal resolution is 1800dpi.  It almost makes you wonder where else in life "littlewhite lies" might actually do you some good, doesn't it?
  15. R 94,J,T 5
  16.     Now we're going to throw all sorts of difficult maneuvers at it.  First thing, the rightmargin is now justified, so it's going to have to even up the right margin on every line inthis paragraph.  Every now and then, I'm going to make it underline a word or two.  The waySprint does underlining by default requires that it know the exact widths of all characters ona line, especially when that line is justified.  To try to really make Sprint sweat, I'm goingto add some words with kerning pairs in them, which also require specific spacing, like Volume, Panther, Wells, Pesky, and Wand.  And a little bit of italics, a font that seems to scaleless proportionally than others.  If you try to print this paragraph with a LaserJetIIIdriver that uses 300dpi horizontally, you'll be very disappointed.ENDS
  17. R 94,T 5
  18. SIZE 4 POINT
  19.     Really small type.  Goodness, now we're down to 4 point!  A ragged right margin is ineffect.  This is an example of the how well Sprint can deal with small type on theLaserJetIII when it's told that the horizontal resolution is 1800dpi.  It almost makes youwonder where else in life "little white lies" might actually do you some good, doesn't it?
  20. R 94,J,T 5
  21.     Now we're going to throw all sorts of difficult maneuvers at it.  First thing, the rightmargin is now justified, so it's going to have to even up the right margin on every line inthis paragraph.  Every now and then, I'm going to make it underline a word or two.  The waySprint does underlining by default requires that it know the exact widths of all characters ona line, especially when that line is justified.  To try to really make Sprint sweat, I'm goingto add some words with kerning pairs in them, which also require specific spacing, like Volume, Panther, Wells, Pesky, and Wand.  And a little bit of italics, a font that seems to scaleless proportionally than others.  If you try to print this paragraph with a LaserJetIIIdriver that uses 300dpi horizontally, you'll be very disappointed.ENDS
  22.  
  23. R 94,J,T 5,spacing 8.5pt
  24. FONT LINEPRINTER
  25.     @notct(LinePrinter.  This is the LinePrinter font.  It is 8.5 points in size and monospaced.  As usual, I'm including a lot of text so that you can see how multiple lines of itwill look together.  The font has has no bold and no italics.  Here's some underlining.  It'snot a terribly attractive font, but I suppose it would be good for annotating graphs, bigspreadsheets, and the like.ENDF)
  26.  
  27. R 94,J,T 5,spacing 10pt
  28. FONT COURIER10
  29.     @notct(Courier10.  This is the Courier10 font.  It's monospaced; notice how all the characters are the same width.  It is 10 points in size.  As usual, I'm including a lot of text sothat you can see how multiple lines of it will look together.  Here's some underlining.  Thisis Courier10 bold.  This is Courier10 italic.  There is no bold italic.  Maybe I'd have beenimpressed with this five years ago, but this font looks pretty outmoded today.ENDF)
  30.  
  31. R 94,J,T 5,spacing 1
  32. FONT COURIER
  33.     @notct(Courier.  This is the Courier font.  Still monospaced.  It is 12 points in size. As usual, I'm including a lot of text so that you can see how multiple lines of it will looktogether.  Here's some underlining.  This is Courier bold.  This is Courier italic.  There isno bold italic.  This font is unimpressive in 10 point, and it doesn't improve much in 12point, does it?ENDF)
  34.  
  35. R 94,T 5
  36.     Quotation marks.  "Hoo boy," he said, "it sure is hot."  "I think he said, `I don'tknow.'"  "`I couldn't be sure' is really what he said."  `A sentence in single quotes.' ("Double quotes within parentheses.")  ["Double quotes within brackets."]  {"Double quoteswithin braces."}  (`Single quotes within parentheses.')  {`Single quotes within brackets.'} [`Single quotes within braces.']  Special case of some delimiters within double quotes:  "(",")", "[", "]", "{", and"}".  Special case of some delimiters within single quotes: `(', `)',`[', `]', `{', and`}'.  "Forced" open double quote:``.  "Forced" close double quote:''. ASCII 247d is a "forced" typewriter-like quote:≈.  Open single quote:`.  Close singlequote:'.
  37.  
  38.     Dashes.  Double dashes-- such as these-- get turned into em-dashes.  Single dashes,like this- don't get translated.
  39.  
  40.     Type size.  This is regular size.  This is large size (1.414 times the normal size). Regular again.
  41.  
  42.     Type enhancements.  This is regular text.  This is bold text.  This is italicized text. This is underlined text.  This is bold, italicized text.  This is bold, italicized, underlinedtext.  Here's a line with some superscript in it.  This line has subscript in it.  This lineis in strikethrough.  Another line of regular text.
  43.  
  44. FONT HELVETICA
  45.     Second proportional font.  Times is the main proportional, scalable font, but there'salso Univers (font Helvetica), which we're in now.  This is regular text.  This is bold text. This is italicized text.  This is underlined text.  This is bold, italicized text.  This isbold, italicized, underlined text.  Superscript, subscript, and strikethrough.  "These areUnivers double quotes."  `These are Univers single quotes.'ENDF
  46.  
  47.     A sampling of IBM upper ASCII characters.  ┼ ╞ ╟ Ç ü é â ä à å ç ê ë è ï î ì Ä Å É æ Æ ôö ò û ù ÿ Ö Ü ¢ £ ¥ ƒ á í ó ú ñ Ñ ª º ¿ ½ ¼ ¡ « » ß µ δ ± ° ■
  48.  
  49.     Kerning pairs.  Remember, kerning pairs won't work if there's a soft hyphen between thetwo characters.  With the extra space removed:  AT, AV, AW, AY, Av, Aw, Ay, FA, Fa, Fo, LV,LW, LY, PA, Pa, Pe, Po, TA, Ta, Te, To, Tu, Ty, VA, VO, Va, Ve, Vo, WA, WO, Wa, We, Wo, YA,YO, Ya, Ye, Yo.  Without the space removed:  @notct(AT, AV, AW, AY, Av, Aw, Ay, FA, Fa, Fo,LV, LW, LY, PA, Pa, Pe, Po, TA, Ta, Te, To, Tu, Ty, VA, VO, Va, Ve, Vo, WA, WO, Wa, We, Wo,YA, YO, Ya, Ye, Yo).
  50.  
  51.     Ligatures.  These are the five ligatures:  fi, fl, ff, ffi, andffl.  Like kerning pairs,ligatures won't get translated if there's a soft hyphen between any of the characters.  Words: final, flowing, Muffy, difficult, muffler.  Underlined: fi, fl, ff, ffi, ffl, final, flowing,Muffy, difficult, muffler.  Italics:  fi, fl, ff, ffi, ffl, final, flowing, Muffy, difficult,muffler.  Underlined italics:  fi, fl, ff, ffi, ffl, final, flowing, Muffy, difficult,muffler.  Bold:  fi, fl, ff, ffi, ffl, final, flowing, Muffy, difficult, muffler.  Bold italic:  fi, fl, ff, ffi, ffl, final, flowing, Muffy, difficult, muffler.
  52. FONT HELVETICA
  53.     In Univers now:  fi, fl, ff, ffi, ffl.  Notice that the fi and fl combinations don't meldtogether the way they do in Times; ff is the only real ligature.  This isn't a bug in theprinter driver or macros; it's just the way this font is designed.  Words:  final, flowing,Muffy, difficult, muffler.  Italics:  fi, fl, ff, ffi, ffl, final, flowing, Muffy, difficult,muffler.  Bold:  fi, fl, ff, ffi, ffl, final, flowing, Muffy, difficult, muffler.  Bold italic:  fi, fl, ff, ffi, ffl, final, flowing, Muffy, difficult, muffler.ENDF
  54.  
  55. R 94,J,T 5
  56. SIZE 10 POINT
  57.     Font sizes.  This is Times in 10 point.  It is probably the second most popular size after 12 point.  A lot of LaserJetIII printer drivers have problems with this size, but notthis one.  To prove it, I've started some spurious underlining, here's some italics, a littlebold, and worst of all, here come the kerning pairs:  VA, Vo, Ve, Aw, VA, LY, Fa, FA, and alittle more text to force Sprint to justify to the end of the line, and that should be justabout enough to convince the worst of the skeptics.ENDS
  58.  
  59. FONT HELVETICASIZE 10 POINT
  60.     In Univers now.  This is 10 point.  It is probably the second most popular size after 12point.  A lot of LaserJetIII printer drivers have problems with this size, but not this one. To prove it, I've started some spurious underlining, here's some italics, a little bold, andworst of all, here come the kerning pairs:  VA, Vo, Ve, Aw, VA, LY, Fa, FA, and a little moretext to force Sprint to justify to the end of the line, and that should be just about enoughto convince the worst of the skeptics.ENDSENDF
  61.  
  62.     Bullets.  This driver pulls in several bullet types from the Microsoft Publishing character set, which are ideal for lists and the like (as demonstrated below).  The filled circles: @pub[@char(177) @char(178) @char(179)]  Open circles:  @pub[@char(180) @char(181) @char(182)] The filled squares:  @pub[@char(183) @char(184) @char(185)]  The open squares: @pub[@char(186) @char(187) @char(188)]  The filled diamond:  @pub[@char(190)]  The open diamond:  @pub[@char(191)]
  63.  
  64.  
  65. BEGIN BULLETS
  66. This is a bulleted list.  This particular bullet item is really, really long, so as to demonstrate where the left and right margins will go.  Justification is currently turned on.  Isn'tit a nice day?  Aren't you glad you're alive?  Aren't you happy you downloaded this printerdriver?  If I charged for this thing by the number of hours I put into it, believe me, youcouldn't afford it.
  67.  
  68. This is the second bullet item.
  69.  
  70. This is the third bullet item.
  71.  
  72. BEGIN BULLETS
  73. This is a second-level bullet list inside the first one.  Notice that the characters at thebeginnings of the items have changed.  (If you've made the change given to the Bullets formatin the @t[EXTRA.FMT] file, you'll get real bullets.)  Here's some more text.  And a littlemore.  Aren't laser printers wonderful?  What did you have to use before you got access toone?  Really?  My old printer was even worse than that.
  74.  
  75. This is another second-level entry.
  76.  
  77. BEGIN BULLETS
  78. This is a third-level entry, so now we're at the third level of the bullet list.  These "sub-sub-points" begin with even a third character.  I'm not saying what character any of thesebullets should be, because I want you to print this thing and find out for yourself.
  79.  
  80. Another "sub-sub-point."
  81. END BULLETS
  82.  
  83. Back to second level.
  84. END BULLETS
  85.  
  86. Back to first level.
  87. END BULLETS
  88.